let http = require("http");
let urls = ["www.baidu.com","www.github.com",'www.qq.com'];

function fetchPage(url){
    var start = new Date();
    http.get({host:url},function(response){
        console.log(response);
    })
}

fetchPage("www.baidu.com")